package com.icas.entity.databaseentity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: tocchen
 * @Date: 2022/4/21 22:37
 * @Description
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Location {
    private Double longitude;
    private Double latitude;

    public static Location getInstance(Double longitude,Double latitude){
        return new Location(longitude, latitude);
    }
}
